<extend name="./Public/layout/default.html"/>

<block name="top">
    <ul class="el-menu el-menu--horizontal el-menu--dark">
        <a href="{:U('/Admin/main')}"><li class="el-menu-item">主页</li></a>
        <a href="{:U('/Admin/shop')}"><li class="el-menu-item">商品管理</li></a>
        <a href="{:U('/Admin/Emtpy/index')}"><li class="el-menu-item">退出登录</li></a>
    </ul>
</block>


<block name="title">用户购买商品信息</block>

<block name="content">
    <table class="table">
        <tr>
            <th>商品</th>
            <th>图片</th>
            <th>价格(元)</th>
            <th>折扣</th>
            <th>类型</th>
        </tr>
        <!--<php>var_dump($shop)</php>-->
        <foreach name="shop" item="shops">
            <tr>
                <td>{$shops.shopname}</td>
                <td><img class="imgsid" src="/Public/imgs{$shops.shopimg}" alt=""></td>
                <td>{$shops.price}</td>
                <td>{$shops.discount}</td>
                <td>{$shops.leibiename}</td>
            </tr>
        </foreach>
    </table>
</block>
